﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestAdColonyAd : MonoBehaviour
{
    private AdController adController;
    // Start is called before the first frame update
    void Start()
    {
        #if AdColony
        adController = new AdColonyController();
        adController.Init();
        #endif
    }

    public void LoadVideoAd()
    {
        adController.LoadVideoAd();
    }

    public void PlayVideoAd()
    {
        adController.PlayVideoAd();
    }

    public void LoadInterstitialAd()
    {
        adController.LoadInterstitialAd();
    }

    public void ShowInterstitialAd()
    {
        adController.ShowInterstitialAd();
    }

    public void HideInterstitialAd()
    {
        //adController.HideInterstitialAd();
    }
    
    public void LoadBanner()
    {
        adController.LoadBanner();
    }
    public void ShowBanner()
    {
        adController.ShowBanner();
    }

    public void HideBanner()
    {
        adController.HideBanner();
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
